package com.viphuli.http.bean;

import com.google.gson.annotations.SerializedName;
import com.viphuli.common.Constants;

/**
 * 接口门面Bean(成品)
 * 
 * @author li.li
 *
 */
public class PageBaseBean {

	@SerializedName("result_code")
	private int resultCode;

	@SerializedName("result_msg")
	private String resultMsg;

	public boolean isSuccess() {

		if (Constants.REQUEST_RESULT_STATUS_SUCCESS == resultCode)
			return true;

		return false;
	}

	public int getResultCode() {
		return resultCode;
	}

	public void setResultCode(int resultCode) {
		this.resultCode = resultCode;
	}

	public String getResultMsg() {
		return resultMsg;
	}

	public void setResultMsg(String resultMsg) {
		this.resultMsg = resultMsg;
	}

}
